body {
    background: #f4f4f4;
}
.w {
    width: 1024px;
    margin: 0 auto;
}
/* 导航栏 */
.nav {
    background: #f5f5f5;
    height: 79px;
    border-bottom: 1px solid #d8d8d8;
    width: 100%;
    margin: 0 auto;
}

.nav_right {
    float: right;
    height: 79px;
}
.nav_right ul li {
    float: left;
    padding: 0 10px;
    line-height: 80px;
}
.nav_right li:last-child {
    margin-right: 20px;
}
.nav_right li a {
    color: #4c4d4c;
    font-size: 20px;
}
.nav_right li a:hover {
    border-bottom: 1px solid #ccc;
}

.nav_left {
    float: left;
    margin-left: 60px;
}
.nav_left a {
    margin-top: 5px;
    display: block;
    width: 175px;
    height: 60px;
    background: url(../images/logo2.png);
    text-indent: -9999px
}
/* 轮播图 */
.top {
    height: 400px;
    margin-top: 32px;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
}
.top li {
    position: absolute;
    display: none;
}
.top li:first-child {
    display: block;
}
.currentImg {
    width: 100%;
    height: auto;
    display: block !important;
}
.left_btn,.right_btn{
    font-family: "icomoon";
    width: 30px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    margin-top: -30px;
    cursor: pointer;
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    display: none;
}
.left_btn:hover,
.right_btn:hover {
    background-color: rgba(0, 0, 0, .5);
}

.right_btn{
    right: 0;
}
/* 热门商品 */
.hot_goods {
    margin-top: 32px;
}
.hot_good {
    position: relative;
    background: skyblue;
    width: 500px;
    height: 500px;
    float: left;
}
/*.hot_good:hover .hot_info{*/
    /*display: block;*/

/* }*/
.hot_good:nth-child(2){
    margin-left: 24px;
}
.hot_good:hover{
    cursor: pointer;
}
.hot_info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: rgba(28,118,113,0.6);
    color:#fff;
    line-height: 68px;
    display: none;
    text-align: center;
}
.hot_info i {
    font-size: 30px;
    color: #d0c121;
}
.hot_good img {
    width: 500px;
    height: auto;
}
.hot_info span {
    padding: 0 20px 0 25px;

}


/* 商品导航栏 */
.good_nav {
    position: relative;
    color: #fff;
    margin-top: 32px;
    margin-bottom: 32px;
    padding-bottom: 26px;
    border-bottom: 1px dashed #d0d0d0;

}
.good_top {
    background: #2fc5bc;
    line-height: 60px;
}
.good_top span{
    margin-left: 10px;
    float: left;
    font-size: 16px;
}

.good_top i,input{
    float: left;
}

#sales_w ,#price_w {
    font-family: "icomoon";
    content: '\ea3a';
}

#sales_w:hover,#price_w:hover,#price:hover,#sales:hover {
    cursor: pointer;
    color : #f15;
}
.good_top input {
    width: 60px;
    height: 20px;
}
.good_top button{
    float: left;
    display: block;
    color: #fff;
    padding-left: 15px;
    font-size: 16px;
}
.good_top button ,.good_top input {
    margin-top: 20px;
}
/* 搜索框 */
.bottom {
    position: relative;
    height: 110px;
    overflow: hidden;
;
}

.search {
    position: absolute;
    top: 24px;
    left: 50%;
    margin-left: -245px;
    border-radius: 7px;
    border: 1px solid #2fc5bc;
    overflow: hidden;
}
.search input{
    float: left;
    width: 336px;
    height: 45px;
    padding-left: 56px;

    color: #12ABD3;
    font-size: 16px;
    background: rgba(47,197,188,0.1);
}
.search span:after {
    display: block;
    position: absolute;
    z-index: 1;
    color: #39c5ba;
    top: 6px;
    left: 9px;
    font-family: "icomoon";
    content: '\e900';
    font-size: 32px;
}
.search button{
    float: left;
    height: 46px;
    width: 96px;
    display: block;
    color : #fff;
    background: #11c5bd;

}
/* 提示框 */
.search_info {
    width: 375px;
    height: 194px;
    background: #ffffff;
    color: #3b3b3b;
    position: absolute;
    left: 270px;
    top: 131px;
    z-index: 1000;
    padding-left: 15px;
    border: 1px solid #f5f5f5;
    border-top: 0;
    display: none;
    overflow: hidden;
}

.search_info div {
    margin-top: 10px;
    padding-left: 15px;

}
.search_info>div:hover {
    background: #CCCCCC;
    cursor: pointer;
}
/* 热词 */
.hot_word {
    position: absolute;
    top: 140px;
    left: 268px;
    color: #3C3C3C;
}

.hot_word span {
    padding-left: 15px;
}
.hot_word span:hover {
    color: #F15;
    cursor: pointer;
}
/* 商品列表 */

.good_list_good {
    float: left;
    margin-right: 32px;
    margin-bottom: 20px;

}
.good_list_good:nth-child(3n){
    margin-right: 0;
}

.good_list_top {
width: 318px;
height: 318px;
}
.good_list_good img {
    width: 100%;
    height: 100%;
}
.good_list_top :hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translate3d(0, -2px, 0);
}
.good_price,.good_sale{
    margin: 20px 0 10px;
    height: 20px;
}
.good_price{
    float: left;
}
.good_price {
    color: #F40;
    font-size: 18px;
    line-height: 20px;

 }
.good_price i{
    padding-left: 6px;
    font-weight: 700;
}
.good_sale {
    float: right;
    color: rgb(136, 136, 136);
    font-size: 12px;
    line-height: 20px;
}
.good_list_bottom{
    padding: 0 6px;
}
.good_l_info{
    height: 60px;
    margin-bottom: 14px;
    width: 308px;
}
.good_l_info span {
    word-wrap:break-word;
}
.good_l_info a {
    color: #3d3d3d ;
    font-size: 14px;
}
.good_l_info a:hover {
    color: #f40;
   text-decoration: #f40 underline;
}
/* 分页 */
.m_page {
    position: relative;
    left: 18%;
}
.m_page ul {
    float: left;
}
.m_page li{
    float: left;
    display: block;
    width: 35px;
    height: 35px;
    background: #ffffff;
    line-height: 35px;
    text-align: center;
    border: solid 1px #ededed;
    color: #3d3d3d;
}
.m_page a:hover li{
    border: solid 1px #f40;
    color: #f40;
}
.m_page a:first-child li,.m_page a:last-child li {
    width: 70px;
    margin: 0 20px;
}
.m_page .total {
    float: left;
    font-size: 12px;
    color: #999;
    line-height: 12px;
    padding-top: 12px;
}
.m_page .currentPage {
    border: solid 1px #f40;
    background: #ff4400;
    color:#fff;
    cursor: default;
}
.m_page .currentPage:hover {
    color:#fff;
}
/* left */
.index_left {
    width: 236px;
    background: #28282e;
    position: absolute;
    top: 0;
    left: 0;
}
.user_info {
    overflow: hidden;
}
.left_info {
    overflow: hidden;
}
.user_info {
    padding-left: 64px;
    margin-bottom: 20px;
}
.user_info .wenzhi {
    color: #fff;
    padding-top: 34px;
    padding-left: 16px;
    margin-bottom: 15px;
}
.notlogin{
    width: 100px;
}
.user_head_img{
    width: 100px;
    height: 100px;
    border-radius: 50% ;
    overflow: hidden;
    box-shadow: 0 -3px 30px #c3c3c3;
    margin-bottom: 10px;
    margin-top: 32px;
}
.user_head_img img{
    width: 100%;
    height: auto;
}
.user_infos {
    width: 110px;
    height: 100px;
    text-align: center;
    color: #f5f5f5;
    display: none;
}
.user_infos div{
    margin-top: 8px;
}
.log_out{
    font-family: "icomoon";
    color: #39c5ba;
    font-size: 18px;
    position: relative;
    left: 92px;

}
.log_out:hover {
    cursor: pointer;
    color: #f18;
}
.no_logn {
    text-align: center;
    font-size: 14px;
    width: 120px;
    height: 60px;
    color: #fff;
    margin-left: -6px ;
    display: none;
}
.no_logn a{
    color: #fff;
}
.no_logn i{
    font-size: 10px;

}
.no_logn  a:hover {
    cursor: pointer;
    color: #c81623;
}
.login_state {
    display: block;
}
.commodity {
    color: #fcfefd;
}
.commodity ul li {
    padding-left: 64px;
    position: relative;
    font-size: 18px;
    line-height: 66px;
    height: 66px;
    margin-bottom: 20px;
}

.commodity ul li:before {
    content: "";
    background: url("../images/classify1.png") no-repeat;
    background-size: 100%;;
    display: block;
    width: 38px;
    height: 34px;
    position: absolute;
    top: 20px;
    left: 12px;
}
.commodity li:after {
    position: absolute;
    font-family: "icomoon";
    content: "\e903";
    font-size: 28px;
    right: 10px;
}
/*.commodity li:last-child {
    margin-bottom: 30px;
}*/
.commodity li:hover{
    background: #2fc5bc;
    cursor: pointer;
}
.commodity_a {
    background: #2fc5bc;
    cursor: pointer;
}
#user_pack_up {
    color: #f0f0f0;
    text-align: center;
    margin: 37px 0 55px 0px;
}
#user_pack_up span:hover {
    color: #2fc5bc;
    cursor: pointer;
}

/* right */
.index_right {
    width: 48px;
    height: 166px;
    background: #28282e;
    position: fixed;
    right: 0;
    top: 200px;
    text-align: center;
}
/*  购物车 */
.car {
    position: relative;
}
.car_img {
    font-family: "icomoon";
    color: #fff;
    font-size: 32px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #353537;
}

.car_num {
    font-size: 8px;
    color: #fafafa;
    background: #fa4a4a;
    position: absolute;
    width: auto;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    top: 18px;
    left: 28px;
    font-weight: 700;
    min-width: 16px;
}
.gw {
    margin: 0 auto;
    color: #fafafa;
    width: 32px;
    font-size: 20px;

}
.gw a{
    color: #fafafa;
}
/* 回到顶部 */
.toTop {
    position: fixed;
    bottom: 0;
    right: 0;
    position: fixed;
    color: #fff;
    width: 48px;
    height: 48px;
    background: rgba(85,85,85,.3);
    text-align: center;
    line-height: 48px;
    display: none;
}
.toTop span:before {
    font-family: "icomoon";
    content: "\ea3a";
    font-size: 14px;
}
/*index end */
.end {
    text-align: center;
    color: #C9C5C5;
    height: 60px;
    display: none;
}
/* top_nav */
.top_nav {
    position: fixed;
    top:0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 60px;
    background: #fff;
    display: none;
}
.bottom_min{
    height: 60px;
    position: relative;

}
.search_min {
    left: 50%;
    top: 8px;
    height: 42px;
    margin-left: -239px;

}
.log_min {
    margin-left: 0;
}
.log_min a {
    margin-top: 12px;
    background-size: auto 30px;
    background-repeat: no-repeat;
}
.top_search_info {
    position: absolute;
    top: 52px;
    left: 273px;
    width: 392px;
    height: 196px;
    background: #fff;
    overflow: hidden;
    display: none;
}
.top_search_info>div {
    color: #3b3b3b;
    margin-top: 10px;
    padding-left: 15px;
}
.top_search_info>div:hover {
    background: #CCCCCC;
    cursor: pointer;
}
/* 分类详情 */
.type_info {
    position: absolute;
    width: 0px;
    height: 200px;
    background: rgba(102,102,102,0.8);
    top: 200px;
    left: 236px;
    z-index: 10000000;
    border-radius: 0 44px 44px 0;
    overflow: hidden;
}
.type_info ul li {
    float: left;
    margin-left: 20px;
    margin-top: 50px;
    padding-right: 16px;

}

/* 解决结构问题 */

.type_info li a {
    color: #eeeeee;
}

.type_info ul a:hover{
    cursor: pointer;
    color: #f15;
}

/* 改变placeholder的样式 */
::-webkit-input-placeholder{
    color: #96ded9
}
:-moz-placeholder {
    color:    #96ded9;
}
::-moz-placeholder {
    color:    #96ded9;
}
:-ms-input-placeholder {
    color:    #96ded9;
}